package Thread;

public class Dom22 {
    public static void main(String[] args) throws InterruptedException {
        Object object=new Object();
        System.out.println("wait之前。。。");
        //wait 会先释放锁
        object.wait();
        System.out.println("wait之后。。。");
    }
}
